function [Plant_params] = Init_plant_params()
%  plant parameters.
%  
Plant_params         = Simulink.Parameter;
Plant_params.CoderInfo.StorageClass = 'ImportedExtern';
Plant_params.CoderInfo.Alias        = '';
Plant_params.CoderInfo.Alignment    = -1;
Plant_params.Description            = 'Tunable params for Plant dynamics';
Plant_params.Min                    = [];
Plant_params.Max                    = [];
Plant_params.DocUnits               = '';

%% no more than 16 chars
Plant_params.Value.MASS             = single(0.5);      % Kg
Plant_params.Value.ARM_LENGTH       = single(15);       % cm
Plant_params.Value.ESC_RPM_WC       = single(100);      % Hz ESC Revolution cut-off frequency
Plant_params.Value.SAMPLE_TIME      = single(0.0005);   % sec
Plant_params.Value.ROTOR_LIFT_COEF  = single(0.099);
Plant_params.Value.YAW_TORQ_COEF    = single(0.006);
Plant_params.Value.ROTOR_SPEED_MAX  = single(23520);    % RPM

%% definite the params within data dictionary
dd = Simulink.data.dictionary.open('plant_private_data.sldd');
design_data_sect = getSection(dd, 'Design Data');
assignin(design_data_sect, 'Plant_params',Plant_params);
saveChanges(dd);
close(dd);
end

